﻿using _1._6._2015_EntityFramework.Data.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _1._6._2015_EntityFramework.Data
{
    public class OrdersDbContext : DbContext
    {
        public OrdersDbContext() : base ("DefaultConnection")
        {

        }
        public DbSet<User> Users { get; set; }
        public DbSet<Item> Items { get; set; }
        public DbSet<Order> Orders { get; set; }
        public DbSet<OrderItem> OrderItems { get; set; }
    }
}
